/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package zimoch.mordheim;

/**
 *
 * @author Piotr Grudzień
 */

import java.awt.Canvas;
import java.awt.Graphics;

public class JBoard extends Canvas 
{

    public JBoard()
    {
    	super();
    }

    
      
    @Override
    public void paint( Graphics g )
    {
            int k = 51;
            for (int i=0 ; i< k ; i++)
            
            {
                 g.drawLine(0, i*10, 500, i*10);
                 g.drawLine(i*10, 0, i*10, 500);
            }
    }
   
    @Override
    public void update( Graphics g )
    {
        paint( g );
    }

    

}